package com.woniu.cms.goods.core.mapper;

import com.woniu.cms.goods.core.entity.GoodsBalance;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.cms.goods.core.entity.GoodsBalanceMaterial;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 阅读材料平衡信息报表 Mapper 接口
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-19
 */
public interface GoodsBalanceMapper extends BaseMapper<GoodsBalance> {

    List<GoodsBalanceMaterial> countGoods(@Param("projectCode") String projectCode, @Param("materialType") Integer materialType);
}
